package com.asiainfo.cms.system.vo;

import com.asiainfo.cms.system.entity.SysDept;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
public class SysDeptVO extends SysDept {

    /**
     * 父部门名称
     */
    private String parentName;

    /**
     * 子部门
     */
    private List<SysDeptVO> children = new ArrayList<SysDeptVO>();

}
